<template>
  <div id="basicLayout">
    <a-layout style="min-height: 100vh">
      <a-layout-header class="header">
        <GlobalHeader />
      </a-layout-header>
      <a-layout-content class="content">
        <router-view />
      </a-layout-content>
      <a-layout-footer class="footer">
        <a href="https://chatgpt.com/" target="_blank">ChatGPT</a>&nbsp;
        <a href="https://github.com/www-liquor-com" target="_blank">GitHub</a>&nbsp;
        <a href="https://gitee.com/rose_liquor" target="_blank">Gitee</a>&nbsp;
        <br />
        <span id="copyright" >
          <CopyrightOutlined /> Liquor 2025
        </span>
      </a-layout-footer>
    </a-layout>
  </div>
</template>

<script setup lang="ts">
import GlobalHeader from "@/components/GlobalHeader.vue";
import { CopyrightOutlined, GithubOutlined } from '@ant-design/icons-vue';
</script>
<style scoped>
#basicLayout .footer {
  background: #efefef;
  padding: 10px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}
.content {
  background: linear-gradient(to right, #fefefe, #fff);
  margin-bottom: 30px;
  padding: 20px;
}
.header {
  padding-inline: 18px;
  background: white;
  margin-bottom: 18px;
  color: unset;

}
#copyright {
  text-align: center;
  box-sizing: border-box;
  display: inline-block; /* 保证 margin-top 生效 */
  margin-top: 5px; /* 调整这个值，控制往下移动的距离 */
}
</style>
